<?php
{
	if(isset($_SESSION['db_is_logged_in']))
    {
        unset($_SESSION['db_is_logged_in']);
        unset($_SESSION['username']);
        @setcookie('UserCookie', "", -1);
    }
    
    echo '<META HTTP-EQUIV=Refresh CONTENT="0; URL=index.php">';
}
?>